package cn.koala.key.firstmaintain.entity.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;

/**
 * 首保卡修改类型
 *
 * @author liutao
 * @date 2021/3/23
 */
public class FirstMaintainCardTypeModifyDTO {
    @ApiModelProperty(name = "车架号")
    @NotEmpty(message = "车架号不能为空")
    @ExcelProperty("车架号")
    private String vinNo;
    @ApiModelProperty(name = "首保类型")
    @NotNull(message = "首保类型不能为空")
    @ExcelProperty("首保类型")
    private String typeName;
    @ApiModelProperty(name = "操作人")
    @NotNull(message = "操作人不能为空")
    private String oprNo;
    private String oprName;

    public String getVinNo() {
        return vinNo;
    }

    public void setVinNo(String vinNo) {
        this.vinNo = vinNo;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getOprNo() {
        return oprNo;
    }

    public void setOprNo(String oprNo) {
        this.oprNo = oprNo;
    }

    public String getOprName() {
        return oprName;
    }

    public void setOprName(String oprName) {
        this.oprName = oprName;
    }

    @Override
    public String toString() {
        return "FirstMaintainCardTypeModifyDTO{" +
                "vinNo='" + vinNo + '\'' +
                ", typeName='" + typeName + '\'' +
                ", oprNo='" + oprNo + '\'' +
                ", oprName='" + oprName + '\'' +
                '}';
    }
}
